////////////////////////////////////////////////
// File: Trade.java
// Description: Enter summary here after generation.
// Date: 2016-09-23 09:09:33
// Web: http://www.elanzhou.com/
////////////////////////////////////////////////
package com.mvc.entity;
import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;
import java.text.SimpleDateFormat;
/**
 * trade entity. @author 马威
 */
@Entity
@Table(name = "trade")
public class Trade implements java.io.Serializable {

	private static final long serialVersionUID = 1L;
	@Id
	@Basic(optional = false)
	@GeneratedValue(strategy = GenerationType.IDENTITY)   
    @Column(name = "ID", nullable = false)
	private Integer ID;
    //会员名称
    @Column(name = "memname")
	private  String Memname;
    //信息类型
    @Column(name = "infotype")
	private  String Infotype;
    //发布日期
    @Column(name = "infotime")
	private  String Infotime;
    //品类
    @Column(name = "fname")
	private  String Fname;
    //品种
    @Column(name = "catename")
	private  String Catename;
    //规格
    @Column(name = "specname")
	private  String Specname;
    //产地
    @Column(name = "address")
	private  String Address;
    //数量
    @Column(name = "infonum")
	private  String Infonum;
    //价格
    @Column(name = "price")
	private  String Price;
    //公司名称
    @Column(name = "companyname")
	private  String Companyname;
    //联系人
    @Column(name = "contactman")
	private  String Contactman;
    //联系电话
    @Column(name = "contacttel")
	private  String Contacttel;
    //电子邮箱
    @Column(name = "email")
	private  String Email;
    //其他
    @Column(name = "detail")
	private  String Detail;
    public int getId() {
       return this.ID;
	   }
	public void setId(int ID) {
	   this.ID = ID;
       }
    public String getMemname() {
       return this.Memname;
	   }
	public void setMemname(String Memname) {
	   this.Memname = Memname;
	   }
    public String getInfotype() {
       return this.Infotype;
	   }
	public void setInfotype(String Infotype) {
	   this.Infotype = Infotype;
	   }
    public String getInfotime() {
       return this.Infotime;
	   }
	public void setInfotime(String Infotime) {
	   this.Infotime = Infotime;
	   }
    public String getFname() {
       return this.Fname;
	   }
	public void setFname(String Fname) {
	   this.Fname = Fname;
	   }
    public String getCatename() {
       return this.Catename;
	   }
	public void setCatename(String Catename) {
	   this.Catename = Catename;
	   }
    public String getSpecname() {
       return this.Specname;
	   }
	public void setSpecname(String Specname) {
	   this.Specname = Specname;
	   }
    public String getAddress() {
       return this.Address;
	   }
	public void setAddress(String Address) {
	   this.Address = Address;
	   }
    public String getInfonum() {
       return this.Infonum;
	   }
	public void setInfonum(String Infonum) {
	   this.Infonum = Infonum;
	   }
    public String getPrice() {
       return this.Price;
	   }
	public void setPrice(String Price) {
	   this.Price = Price;
	   }
    public String getCompanyname() {
       return this.Companyname;
	   }
	public void setCompanyname(String Companyname) {
	   this.Companyname = Companyname;
	   }
    public String getContactman() {
       return this.Contactman;
	   }
	public void setContactman(String Contactman) {
	   this.Contactman = Contactman;
	   }
    public String getContacttel() {
       return this.Contacttel;
	   }
	public void setContacttel(String Contacttel) {
	   this.Contacttel = Contacttel;
	   }
    public String getEmail() {
       return this.Email;
	   }
	public void setEmail(String Email) {
	   this.Email = Email;
	   }
    public String getDetail() {
       return this.Detail;
	   }
	public void setDetail(String Detail) {
	   this.Detail = Detail;
	   }

}